﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ASPItalia.ModelVirtualCasting.Web.Models.NewsDetailsViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">News </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<article>
		<header>
			<h1><%: this.Model.NewsDetail.NewsTitle %></h1>
		</header>
		<p id="newsBody">
			<time pubdate datetime="<%=this.Model.NewsDetail.PublicationDate.Value.ToUniversalTime().ToString("O") %>"><%:this.Model.NewsDetail.PublicationDate.Value.ToLongDateString()%></time>
			
			<%= this.Model.NewsDetail.NewsText%>
		</p>
	</article>
	<hr />
	<p><%=Html.ActionLink("Tutte le notizie", "Index") %> </p>
</asp:Content>